package org.springblade.modules.admin.vo.parts.shop;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author ysq
 * @Date 2024/12/19
 * @Description 属性信息
 */
@Data
public class AttrInfoVO {

	@ApiModelProperty(value = "属性ID")
	private Long attrId;

	@ApiModelProperty(value = "属性分类[0-关键属性, 1-销售属性, 2-描述属性]")
	private Integer type;

	@ApiModelProperty(value = "属性名称")
	private String attrName;

	@ApiModelProperty(value = "值类型[0-单选, 1-数字, 2-文本]")
	private Integer valueType;

	@ApiModelProperty(value = "是否必填属性值[0-否，1-是]")
	private Integer requiredValue;

	@ApiModelProperty(value = "单位名称")
	private String unitName;

	@ApiModelProperty(value = "单位中文名称")
	private String unitCnName;

	@ApiModelProperty(value = "单位类型")
	private String unitType;

	@ApiModelProperty(value = "属性值，多个逗号隔开")
	private String attrValues;
}
